< previous page page_532 next page >

Page 532
0532-01.jpg
Figure 24.4
Normalized customer and order tables eliminate data redundancy.
0532-02.jpg
Figure 24.5
Complete normalization of the tables provides the greatest efficiency.
When information is moved out of one table and into another, you must have a way of keeping track of the relationships between the tables. You can do so through the use of data keys. For example, your Customers table has a field called CustNo. The Orders table also has a field called CustNo. These tables are linked through that field. If a program needs to obtain information about the customer who made a particular order, that customer's record can be located quickly in the Customers table via the common CustNo field.
Child and Lookup Tables
Another way to handle data normalization is to create what is known as a child table. A child table is a table in which all the entries share common information that is stored in another table. A simple example is a membership directory; the family shares a common last name, address, and phone number, but each family member has a different first name. The table containing the common information is called the parent table, and the table containing the members' first names is the child table. Figure 24.6 shows a parent table and its related child table.

 
< previous page page_532 next page >